import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import show_ding from '@/components/show_ding'
import add_comment from '@/components/add_comment'
import show_goods from '@/components/show_goods'


Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/login',
      name: 'Login',
      component: Login
    },{
      path: '/show_ding',
      name: 'show_ding',
      component: show_ding
    },{
      path: '/add_comment',
      name: 'add_comment',
      component: add_comment
    },{
      path: '/show_goods',
      name: 'show_goods',
      component: show_goods
    }
  ]
})
